import axios from '@/plugins/axios/axios'

// 获取产品列表
export const getProductList = (data) => {
    return axios.get('/api/haixia/role/list')
}

export const getCouponsExternal = (data) => {
    return axios.post(`/api/activity/reduction/${data.id}/receive/external`, {
        phone: data.phone
    })
}